﻿/* 
 * Entity class for the DiagnosticInfrastructureLogsTable table defined as part of Windows Azure Diagnostics
 * Copyright 2012, AltaModa Technologies
 */

using System;
using System.Data.Services.Common;

namespace AMT.Azure.Diagnostics
{
	public class DiagnosticInfrastructureLogsEntity : WADEntityBase
	{
		[System.Runtime.Serialization.DataMember]
		public int Level { get; set; }

		[System.Runtime.Serialization.DataMember]
		public int Pid { get; set; }

		[System.Runtime.Serialization.DataMember]
		public int Tid { get; set; }

		[System.Runtime.Serialization.DataMember]
		public string Function { get; set; }

		[System.Runtime.Serialization.DataMember]
		public int Line { get; set; }

		[System.Runtime.Serialization.DataMember]
		public int MDResult { get; set; }

		[System.Runtime.Serialization.DataMember]
		public int ErrorCode { get; set; }

		[System.Runtime.Serialization.DataMember]
		public string ErrorCodeMsg { get; set; }

		[System.Runtime.Serialization.DataMember]
		public string Message { get; set; }
	}
}
